package com.ecnu.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ecnu.system.domain.ProjectNotice;
import com.ecnu.system.domain.SysNotice;

import java.util.List;

/**
 * 通知公告表 数据层
 * 
 * @author ruoyi
 */
public interface ProjectNoticeMapper extends BaseMapper<ProjectNotice>
{
    /**
     * 新增公告
     * 
     * @param notice 公告信息
     * @return 结果
     */
    public int insertNotice(ProjectNotice notice);

    public List<ProjectNotice> selectNoticeByProjectId(Long projectId);

}
